package com.agriculture.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 优惠券
 */
@Data
public class Coupon implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    // 优惠券名称
    private String name;

    // 备注
    private String remark;

    // 起效时间
    private LocalDateTime effectiveTime;

    // 失效时间
    private LocalDateTime expirationTime;

    // 折扣类型
    private Integer type;

    // 折扣额度
    private Integer value;

    // 是否删除
    private Integer isDeleted;
}

